/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.buanalintas.sandals.pos.entities;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author user
 */
@Entity
@Table(name = "view_stok_sandals")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "ViewStokSandals.findAll", query = "SELECT v FROM ViewStokSandals v"),
    @NamedQuery(name = "ViewStokSandals.findByItemId", query = "SELECT v FROM ViewStokSandals v WHERE v.itemId = :itemId"),
    @NamedQuery(name = "ViewStokSandals.findByColorName", query = "SELECT v FROM ViewStokSandals v WHERE v.colorName = :colorName"),
    @NamedQuery(name = "ViewStokSandals.findBySizeName", query = "SELECT v FROM ViewStokSandals v WHERE v.sizeName = :sizeName"),
    @NamedQuery(name = "ViewStokSandals.findByBarcode", query = "SELECT v FROM ViewStokSandals v WHERE v.barcode = :barcode"),
    @NamedQuery(name = "ViewStokSandals.findBySupplierModelCode", query = "SELECT v FROM ViewStokSandals v WHERE v.supplierModelCode = :supplierModelCode"),
    @NamedQuery(name = "ViewStokSandals.findByItemCode", query = "SELECT v FROM ViewStokSandals v WHERE v.itemCode = :itemCode"),
    @NamedQuery(name = "ViewStokSandals.findByItemCode2", query = "SELECT v FROM ViewStokSandals v WHERE v.itemCode2 = :itemCode2"),
    @NamedQuery(name = "ViewStokSandals.findByItemModel", query = "SELECT v FROM ViewStokSandals v WHERE v.itemModel = :itemModel"),
    @NamedQuery(name = "ViewStokSandals.findByItemPriceBasic", query = "SELECT v FROM ViewStokSandals v WHERE v.itemPriceBasic = :itemPriceBasic"),
    @NamedQuery(name = "ViewStokSandals.findByItemPriceShop", query = "SELECT v FROM ViewStokSandals v WHERE v.itemPriceShop = :itemPriceShop"),
    @NamedQuery(name = "ViewStokSandals.findByItemPriceFranchise", query = "SELECT v FROM ViewStokSandals v WHERE v.itemPriceFranchise = :itemPriceFranchise"),
    @NamedQuery(name = "ViewStokSandals.findByModelName", query = "SELECT v FROM ViewStokSandals v WHERE v.modelName = :modelName"),
    @NamedQuery(name = "ViewStokSandals.findByPriceBuyValue", query = "SELECT v FROM ViewStokSandals v WHERE v.priceBuyValue = :priceBuyValue"),
    @NamedQuery(name = "ViewStokSandals.findByPriceOnlineValue", query = "SELECT v FROM ViewStokSandals v WHERE v.priceOnlineValue = :priceOnlineValue"),
    @NamedQuery(name = "ViewStokSandals.findByItemStockValue", query = "SELECT v FROM ViewStokSandals v WHERE v.itemStockValue = :itemStockValue"),
    @NamedQuery(name = "ViewStokSandals.findByStatusName", query = "SELECT v FROM ViewStokSandals v WHERE v.statusName = :statusName"),
    @NamedQuery(name = "ViewStokSandals.findByUnitName", query = "SELECT v FROM ViewStokSandals v WHERE v.unitName = :unitName"),
    @NamedQuery(name = "ViewStokSandals.findByItemStockUnitId", query = "SELECT v FROM ViewStokSandals v WHERE v.itemStockUnitId = :itemStockUnitId"),
    @NamedQuery(name = "ViewStokSandals.findByStatusId", query = "SELECT v FROM ViewStokSandals v WHERE v.statusId = :statusId"),
    @NamedQuery(name = "ViewStokSandals.findByItemStockId", query = "SELECT v FROM ViewStokSandals v WHERE v.itemStockId = :itemStockId")})
public class ViewStokSandals implements Serializable {
    private static final long serialVersionUID = 1L;
    @Basic(optional = false)
    @Column(name = "item_id")
    private int itemId;
    @Column(name = "color_name")
    private String colorName;
    @Column(name = "size_name")
    private String sizeName;
    @Column(name = "barcode")
    private String barcode;
    @Column(name = "supplier_model_code")
    private String supplierModelCode;
    @Column(name = "item_code")
    private String itemCode;
    @Column(name = "item_code2")
    private String itemCode2;
    @Column(name = "item_model")
    private String itemModel;
    // @Max(value=?)  @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Column(name = "item_price_basic")
    private BigDecimal itemPriceBasic;
    @Column(name = "item_price_shop")
    private BigDecimal itemPriceShop;
    @Column(name = "item_price_franchise")
    private BigDecimal itemPriceFranchise;
    @Column(name = "model_name")
    private String modelName;
    @Column(name = "price_buy_value")
    private BigDecimal priceBuyValue;
    @Column(name = "price_online_value")
    private BigDecimal priceOnlineValue;
    @Column(name = "item_stock_value")
    private Integer itemStockValue;
    @Column(name = "status_name")
    private String statusName;
    @Column(name = "unit_name")
    private String unitName;
    @Column(name = "item_stock_unit_id")
    private Integer itemStockUnitId;
    @Basic(optional = false)
    @Column(name = "status_id")
    private int statusId;
    @Basic(optional = false)
    @Column(name = "item_stock_id")
    @Id
    private int itemStockId;

    public ViewStokSandals() {
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public String getColorName() {
        return colorName;
    }

    public void setColorName(String colorName) {
        this.colorName = colorName;
    }

    public String getSizeName() {
        return sizeName;
    }

    public void setSizeName(String sizeName) {
        this.sizeName = sizeName;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getSupplierModelCode() {
        return supplierModelCode;
    }

    public void setSupplierModelCode(String supplierModelCode) {
        this.supplierModelCode = supplierModelCode;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemCode2() {
        return itemCode2;
    }

    public void setItemCode2(String itemCode2) {
        this.itemCode2 = itemCode2;
    }

    public String getItemModel() {
        return itemModel;
    }

    public void setItemModel(String itemModel) {
        this.itemModel = itemModel;
    }

    public BigDecimal getItemPriceBasic() {
        return itemPriceBasic;
    }

    public void setItemPriceBasic(BigDecimal itemPriceBasic) {
        this.itemPriceBasic = itemPriceBasic;
    }

    public BigDecimal getItemPriceShop() {
        return itemPriceShop;
    }

    public void setItemPriceShop(BigDecimal itemPriceShop) {
        this.itemPriceShop = itemPriceShop;
    }

    public BigDecimal getItemPriceFranchise() {
        return itemPriceFranchise;
    }

    public void setItemPriceFranchise(BigDecimal itemPriceFranchise) {
        this.itemPriceFranchise = itemPriceFranchise;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public BigDecimal getPriceBuyValue() {
        return priceBuyValue;
    }

    public void setPriceBuyValue(BigDecimal priceBuyValue) {
        this.priceBuyValue = priceBuyValue;
    }

    public BigDecimal getPriceOnlineValue() {
        return priceOnlineValue;
    }

    public void setPriceOnlineValue(BigDecimal priceOnlineValue) {
        this.priceOnlineValue = priceOnlineValue;
    }

    public Integer getItemStockValue() {
        return itemStockValue;
    }

    public void setItemStockValue(Integer itemStockValue) {
        this.itemStockValue = itemStockValue;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public Integer getItemStockUnitId() {
        return itemStockUnitId;
    }

    public void setItemStockUnitId(Integer itemStockUnitId) {
        this.itemStockUnitId = itemStockUnitId;
    }

    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    public int getItemStockId() {
        return itemStockId;
    }

    public void setItemStockId(int itemStockId) {
        this.itemStockId = itemStockId;
    }
    
}
